package models;

import java.util.*;

import javax.persistence.*;

import play.db.jpa.*;

@Entity
public class Role extends Model {
	@Lob
	public String description;
	@ManyToMany
	List<Permission> allowedPermissions;

	public Role(String description) {
		this.description = description;
		allowedPermissions = new ArrayList<Permission>();
	}
}
